<template>
  <el-col :span="options.span || 22">
    <el-form-item :label="options.label" :prop="options.prop">
      <tinymce v-model="content" :height="300" />
    </el-form-item>
  </el-col>
</template>

<script>
import Tinymce from "@/lib/components/Tinymce";
export default {
  components: { Tinymce },
  props: {
    value: String,
    options: Object,
  },
  computed: {
    content: {
      get: function () {
        return this.value;
      },
      set: function (e) {
        this.$emit("input", e);
      },
    },
  },
};
</script>

<style>
</style>